import axios from "../../util/axios.js";

const getProject = async () => {
    return await axios.get("/harbor/projects/list")
}

const getImage = async (project) => {
    return await axios.get("/harbor/images/list?projectName=" + project)
}

const getTag = async (project, image) => {
    return await axios.get("/harbor/artifacts/list?projectName=" + project + "&imageName=" + image)
}
export {
    getProject,
    getImage,
    getTag
}